package cn.yunhe.pagemybatisplus.service.impl;

import cn.yunhe.pagemybatisplus.eneity.User;
import cn.yunhe.pagemybatisplus.mapper.UserMapper;
import cn.yunhe.pagemybatisplus.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {
   @Resource
   private UserMapper userMapper;

    @Override
    public List<User> getList() {

        return userMapper.getList();
    }
}
